import Layout from '@/new_layout'
export default [
  {
    path: '/informationNetwork',
    component: Layout,
    redirect: '/informationNetwork/column',
    name: 'informationNetwork',
    meta: { title: '信息网管理', icon: 'star', roles: ['就业'] },
    children: [
      {
        path: 'column',
        name: 'informationNetwork-column',
        component: () => import('@/views/informationNetwork/column'),
        meta: { title: '栏目管理' }
      },
      {
        path: 'column/add',
        name: 'informationNetwork-column-add',
        hidden: true,
        component: () => import('@/views/informationNetwork/column_edit'),
        meta: { title: '新增栏目' }
      },
      {
        path: 'column/edit',
        name: 'informationNetwork-column-edit',
        hidden: true,
        component: () => import('@/views/informationNetwork/column_edit'),
        meta: { title: '编辑栏目' }
      },
      {
        path: 'article',
        name: 'informationNetwork-article',
        component: () => import('@/views/informationNetwork/article'),
        meta: { title: '文章管理' }
      },
      {
        path: 'article/add',
        name: 'informationNetwork-article-add',
        hidden: true,
        component: () => import('@/views/informationNetwork/article_edit'),
        meta: { title: '新增文章' }
      },
      {
        path: 'article/edit',
        name: 'informationNetwork-article-edit',
        hidden: true,
        component: () => import('@/views/informationNetwork/article_edit'),
        meta: { title: '编辑文章' }
      },
      {
        path: 'banner',
        name: 'informationNetwork-banner',
        component: () => import('@/views/informationNetwork/banner'),
        meta: { title: '首页通栏轮播管理' }
      },
      {
        path: 'banner/edit',
        name: 'informationNetwork-banner-edit',
        hidden: true,
        component: () => import('@/views/informationNetwork/banner_edit'),
        meta: { title: '编辑轮播' }
      },
      {
        path: 'banner/add',
        name: 'informationNetwork-banner-add',
        hidden: true,
        component: () => import('@/views/informationNetwork/banner_edit'),
        meta: { title: '新增轮播' }
      },
      {
        path: 'friendUrl',
        name: 'informationNetwork-friendUrl',
        component: () => import('@/views/informationNetwork/friendUrl'),
        meta: { title: '友情链接管理' }
      },
      {
        path: 'friendUrl/edit',
        name: 'informationNetwork-friendUrl-edit',
        hidden: true,
        component: () => import('@/views/informationNetwork/friendUrl_edit'),
        meta: { title: '编辑友情链接' }
      },
      {
        path: 'friendUrl/add',
        name: 'informationNetwork-friendUrl-add',
        hidden: true,
        component: () => import('@/views/informationNetwork/friendUrl_edit'),
        meta: { title: '新增友情链接' }
      },
      {
        path: 'website',
        name: 'informationNetwork-website',
        component: () => import('@/views/informationNetwork/websiteSetting'),
        meta: { title: '网站设置' }
      }
    ]
  }
]
